-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
misc: Add makefile and update readme #1173
Conversation
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #1173 +/- ##
==========================================
+ Coverage 88.66% 88.68% +0.01%
==========================================
Files 160 160
Lines 22300 22343 +43
Branches 3345 3355 +10
==========================================
+ Hits 19773 19815 +42
Misses 1989 1989
- Partials 538 539 +1 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much
Co-authored-by: Sasha Lopoukhine <superlopuh@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, modulo one target 👍
black: | ||
staged_files="$(shell git diff --staged --name-only)" | ||
# run black on all of xdsl if no staged files exist | ||
black $${staged_files:-xdsl} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This also runs black on files that are not Python files. This is not an issue in the pyright case above, since pyright realises that and still works, but black complains.
Not sure we really care, just another minor inconvenience
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have not cared so far, maybe we can fix that in an upcoming PR?
This adds a
Makefile
containing a collection of common tasks in the project.